[XEND] Don't prepend '/dev/' to any absolute path.
authorTim Deegan <tim.deegan@xensource.com>
Thu, 21 Sep 2006 14:00:50 +0000 (15:00 +0100)
committerTim Deegan <tim.deegan@xensource.com>
Thu, 21 Sep 2006 14:00:50 +0000 (15:00 +0100)
commit1c80d1b0a37ae3d8a6ed9cd7617e452b80152766
tree4e44895b41e20e4949bf7d8b986f5c3766314f7d
parentfbbf99bec9812e00c7d4153988efc4fca7f1e9c0
[XEND] Don't prepend '/dev/' to any absolute path.
Check for '/' rather than '/dev/' when translating e.g. 'hda'->'/dev/hda'
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
tools/python/xen/util/blkif.py